import request from '@/utils/request';

export function login(params: any) {
    return request({
        url: '/operate/login',
        method: 'post',
        data: params
    })
}

export function getUserInfo() {
    return request({
        url: '/operate/info',
        method: 'get',
    })
}

export function logout() {
    return request({
        url: '/operate/logout',
        method: 'post'
    })
}
